package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerConverter {
    SubjectAnswerConverter INSTANCE = Mappers.getMapper(SubjectAnswerConverter.class);
    SubjectInfoBO convertBoToSubjectAnswer(SubjectAnswerBO subjectAnswerBO);
    List<SubjectInfoBO> convertBoToDtoCategory(List<SubjectInfoBO> subjectInfoBOList);
}
